package com.un.ebs.workOrder.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum RoleTypeEnum {

    User(0,"系统用户"),

    Customer(1,"客户");

    RoleTypeEnum(int code,String desc){
        this.code=code;
        this.desc=desc;
    }

    @EnumValue
    private final int code;

    private final String desc;
}
